import 'package:enterprise_v6_app/generated/json/base/json_convert_content.dart';
import 'package:enterprise_v6_app/app/data/entities/application/Inventory_system/get_feign_emergency_team_list_entity.dart';

GetFeignEmergencyTeamListEntity $GetFeignEmergencyTeamListEntityFromJson(Map<String, dynamic> json) {
  final GetFeignEmergencyTeamListEntity getFeignEmergencyTeamListEntity = GetFeignEmergencyTeamListEntity();
  final String? address = jsonConvert.convert<String>(json['address']);
  if (address != null) {
    getFeignEmergencyTeamListEntity.address = address;
  }
  final String? affiliatedUnit = jsonConvert.convert<String>(json['affiliatedUnit']);
  if (affiliatedUnit != null) {
    getFeignEmergencyTeamListEntity.affiliatedUnit = affiliatedUnit;
  }
  final String? annexToTheAgreement = jsonConvert.convert<String>(json['annexToTheAgreement']);
  if (annexToTheAgreement != null) {
    getFeignEmergencyTeamListEntity.annexToTheAgreement = annexToTheAgreement;
  }
  final String? companyCode = jsonConvert.convert<String>(json['companyCode']);
  if (companyCode != null) {
    getFeignEmergencyTeamListEntity.companyCode = companyCode;
  }
  final String? contactInformation = jsonConvert.convert<String>(json['contactInformation']);
  if (contactInformation != null) {
    getFeignEmergencyTeamListEntity.contactInformation = contactInformation;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getFeignEmergencyTeamListEntity.createBy = createBy;
  }
  final String? createById = jsonConvert.convert<String>(json['createById']);
  if (createById != null) {
    getFeignEmergencyTeamListEntity.createById = createById;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getFeignEmergencyTeamListEntity.createDate = createDate;
  }
  final String? deleted = jsonConvert.convert<String>(json['deleted']);
  if (deleted != null) {
    getFeignEmergencyTeamListEntity.deleted = deleted;
  }
  final String? emergencyPointIds = jsonConvert.convert<String>(json['emergencyPointIds']);
  if (emergencyPointIds != null) {
    getFeignEmergencyTeamListEntity.emergencyPointIds = emergencyPointIds;
  }
  final String? establishmentTime = jsonConvert.convert<String>(json['establishmentTime']);
  if (establishmentTime != null) {
    getFeignEmergencyTeamListEntity.establishmentTime = establishmentTime;
  }
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getFeignEmergencyTeamListEntity.id = id;
  }
  final String? materialAttachments = jsonConvert.convert<String>(json['materialAttachments']);
  if (materialAttachments != null) {
    getFeignEmergencyTeamListEntity.materialAttachments = materialAttachments;
  }
  final List<GetFeignEmergencyTeamListMaterialPointDetailsList>? materialPointDetailsList = (json['materialPointDetailsList'] as List<dynamic>?)?.map(
          (e) => jsonConvert.convert<GetFeignEmergencyTeamListMaterialPointDetailsList>(e) as GetFeignEmergencyTeamListMaterialPointDetailsList).toList();
  if (materialPointDetailsList != null) {
    getFeignEmergencyTeamListEntity.materialPointDetailsList = materialPointDetailsList;
  }
  final List<dynamic>? materialPointIdList = (json['materialPointIdList'] as List<dynamic>?)?.map(
          (e) => e).toList();
  if (materialPointIdList != null) {
    getFeignEmergencyTeamListEntity.materialPointIdList = materialPointIdList;
  }
  final List<GetFeignEmergencyTeamListMemberList>? memberList = (json['memberList'] as List<dynamic>?)?.map(
          (e) => jsonConvert.convert<GetFeignEmergencyTeamListMemberList>(e) as GetFeignEmergencyTeamListMemberList).toList();
  if (memberList != null) {
    getFeignEmergencyTeamListEntity.memberList = memberList;
  }
  final String? periodOfCooperation = jsonConvert.convert<String>(json['periodOfCooperation']);
  if (periodOfCooperation != null) {
    getFeignEmergencyTeamListEntity.periodOfCooperation = periodOfCooperation;
  }
  final String? responsiblePerson = jsonConvert.convert<String>(json['responsiblePerson']);
  if (responsiblePerson != null) {
    getFeignEmergencyTeamListEntity.responsiblePerson = responsiblePerson;
  }
  final String? teamClassification = jsonConvert.convert<String>(json['teamClassification']);
  if (teamClassification != null) {
    getFeignEmergencyTeamListEntity.teamClassification = teamClassification;
  }
  final String? teamClassificationName = jsonConvert.convert<String>(json['teamClassificationName']);
  if (teamClassificationName != null) {
    getFeignEmergencyTeamListEntity.teamClassificationName = teamClassificationName;
  }
  final String? teamName = jsonConvert.convert<String>(json['teamName']);
  if (teamName != null) {
    getFeignEmergencyTeamListEntity.teamName = teamName;
  }
  final int? totalNumberOfPeople = jsonConvert.convert<int>(json['totalNumberOfPeople']);
  if (totalNumberOfPeople != null) {
    getFeignEmergencyTeamListEntity.totalNumberOfPeople = totalNumberOfPeople;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getFeignEmergencyTeamListEntity.updateBy = updateBy;
  }
  final String? updateById = jsonConvert.convert<String>(json['updateById']);
  if (updateById != null) {
    getFeignEmergencyTeamListEntity.updateById = updateById;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getFeignEmergencyTeamListEntity.updateDate = updateDate;
  }
  return getFeignEmergencyTeamListEntity;
}

Map<String, dynamic> $GetFeignEmergencyTeamListEntityToJson(GetFeignEmergencyTeamListEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['address'] = entity.address;
  data['affiliatedUnit'] = entity.affiliatedUnit;
  data['annexToTheAgreement'] = entity.annexToTheAgreement;
  data['companyCode'] = entity.companyCode;
  data['contactInformation'] = entity.contactInformation;
  data['createBy'] = entity.createBy;
  data['createById'] = entity.createById;
  data['createDate'] = entity.createDate;
  data['deleted'] = entity.deleted;
  data['emergencyPointIds'] = entity.emergencyPointIds;
  data['establishmentTime'] = entity.establishmentTime;
  data['id'] = entity.id;
  data['materialAttachments'] = entity.materialAttachments;
  data['materialPointDetailsList'] = entity.materialPointDetailsList?.map((v) => v.toJson()).toList();
  data['materialPointIdList'] = entity.materialPointIdList;
  data['memberList'] = entity.memberList?.map((v) => v.toJson()).toList();
  data['periodOfCooperation'] = entity.periodOfCooperation;
  data['responsiblePerson'] = entity.responsiblePerson;
  data['teamClassification'] = entity.teamClassification;
  data['teamClassificationName'] = entity.teamClassificationName;
  data['teamName'] = entity.teamName;
  data['totalNumberOfPeople'] = entity.totalNumberOfPeople;
  data['updateBy'] = entity.updateBy;
  data['updateById'] = entity.updateById;
  data['updateDate'] = entity.updateDate;
  return data;
}

extension GetFeignEmergencyTeamListEntityExtension on GetFeignEmergencyTeamListEntity {
  GetFeignEmergencyTeamListEntity copyWith({
    String? address,
    String? affiliatedUnit,
    String? annexToTheAgreement,
    String? companyCode,
    String? contactInformation,
    String? createBy,
    String? createById,
    String? createDate,
    String? deleted,
    String? emergencyPointIds,
    String? establishmentTime,
    String? id,
    String? materialAttachments,
    List<GetFeignEmergencyTeamListMaterialPointDetailsList>? materialPointDetailsList,
    List<dynamic>? materialPointIdList,
    List<GetFeignEmergencyTeamListMemberList>? memberList,
    String? periodOfCooperation,
    String? responsiblePerson,
    String? teamClassification,
    String? teamClassificationName,
    String? teamName,
    int? totalNumberOfPeople,
    String? updateBy,
    String? updateById,
    String? updateDate,
    bool? checkboxSelected,
  }) {
    return GetFeignEmergencyTeamListEntity()
      ..address = address ?? this.address
      ..affiliatedUnit = affiliatedUnit ?? this.affiliatedUnit
      ..annexToTheAgreement = annexToTheAgreement ?? this.annexToTheAgreement
      ..companyCode = companyCode ?? this.companyCode
      ..contactInformation = contactInformation ?? this.contactInformation
      ..createBy = createBy ?? this.createBy
      ..createById = createById ?? this.createById
      ..createDate = createDate ?? this.createDate
      ..deleted = deleted ?? this.deleted
      ..emergencyPointIds = emergencyPointIds ?? this.emergencyPointIds
      ..establishmentTime = establishmentTime ?? this.establishmentTime
      ..id = id ?? this.id
      ..materialAttachments = materialAttachments ?? this.materialAttachments
      ..materialPointDetailsList = materialPointDetailsList ?? this.materialPointDetailsList
      ..materialPointIdList = materialPointIdList ?? this.materialPointIdList
      ..memberList = memberList ?? this.memberList
      ..periodOfCooperation = periodOfCooperation ?? this.periodOfCooperation
      ..responsiblePerson = responsiblePerson ?? this.responsiblePerson
      ..teamClassification = teamClassification ?? this.teamClassification
      ..teamClassificationName = teamClassificationName ?? this.teamClassificationName
      ..teamName = teamName ?? this.teamName
      ..totalNumberOfPeople = totalNumberOfPeople ?? this.totalNumberOfPeople
      ..updateBy = updateBy ?? this.updateBy
      ..updateById = updateById ?? this.updateById
      ..updateDate = updateDate ?? this.updateDate
      ..checkboxSelected = checkboxSelected ?? this.checkboxSelected;
  }
}

GetFeignEmergencyTeamListMaterialPointDetailsList $GetFeignEmergencyTeamListMaterialPointDetailsListFromJson(Map<String, dynamic> json) {
  final GetFeignEmergencyTeamListMaterialPointDetailsList getFeignEmergencyTeamListMaterialPointDetailsList = GetFeignEmergencyTeamListMaterialPointDetailsList();
  final String? companyCode = jsonConvert.convert<String>(json['companyCode']);
  if (companyCode != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.companyCode = companyCode;
  }
  final String? contactNumber = jsonConvert.convert<String>(json['contactNumber']);
  if (contactNumber != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.contactNumber = contactNumber;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.createBy = createBy;
  }
  final String? createById = jsonConvert.convert<String>(json['createById']);
  if (createById != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.createById = createById;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.createDate = createDate;
  }
  final String? deleted = jsonConvert.convert<String>(json['deleted']);
  if (deleted != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.deleted = deleted;
  }
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.id = id;
  }
  final String? locationOfTheRegion = jsonConvert.convert<String>(json['locationOfTheRegion']);
  if (locationOfTheRegion != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.locationOfTheRegion = locationOfTheRegion;
  }
  final String? materialClassification = jsonConvert.convert<String>(json['materialClassification']);
  if (materialClassification != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialClassification = materialClassification;
  }
  final String? materialClassificationName = jsonConvert.convert<String>(json['materialClassificationName']);
  if (materialClassificationName != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialClassificationName = materialClassificationName;
  }
  final String? materialName = jsonConvert.convert<String>(json['materialName']);
  if (materialName != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialName = materialName;
  }
  final String? materialPhotos = jsonConvert.convert<String>(json['materialPhotos']);
  if (materialPhotos != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialPhotos = materialPhotos;
  }
  final String? materialPointId = jsonConvert.convert<String>(json['materialPointId']);
  if (materialPointId != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialPointId = materialPointId;
  }
  final String? materialPointIdName = jsonConvert.convert<String>(json['materialPointIdName']);
  if (materialPointIdName != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.materialPointIdName = materialPointIdName;
  }
  final String? place = jsonConvert.convert<String>(json['place']);
  if (place != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.place = place;
  }
  final String? purpose = jsonConvert.convert<String>(json['purpose']);
  if (purpose != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.purpose = purpose;
  }
  final int? quantity = jsonConvert.convert<int>(json['quantity']);
  if (quantity != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.quantity = quantity;
  }
  final String? responsiblePerson = jsonConvert.convert<String>(json['responsiblePerson']);
  if (responsiblePerson != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.responsiblePerson = responsiblePerson;
  }
  final String? transportationAndStorageRequirements = jsonConvert.convert<String>(json['transportationAndStorageRequirements']);
  if (transportationAndStorageRequirements != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.transportationAndStorageRequirements = transportationAndStorageRequirements;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.updateBy = updateBy;
  }
  final String? updateById = jsonConvert.convert<String>(json['updateById']);
  if (updateById != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.updateById = updateById;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.updateDate = updateDate;
  }
  final String? usageRecord = jsonConvert.convert<String>(json['usageRecord']);
  if (usageRecord != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.usageRecord = usageRecord;
  }
  final List<GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos>? usedRecordVos = (json['usedRecordVos'] as List<dynamic>?)
      ?.map(
          (e) =>
      jsonConvert.convert<GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos>(e) as GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos)
      .toList();
  if (usedRecordVos != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.usedRecordVos = usedRecordVos;
  }
  final String? validityPeriod = jsonConvert.convert<String>(json['validityPeriod']);
  if (validityPeriod != null) {
    getFeignEmergencyTeamListMaterialPointDetailsList.validityPeriod = validityPeriod;
  }
  return getFeignEmergencyTeamListMaterialPointDetailsList;
}

Map<String, dynamic> $GetFeignEmergencyTeamListMaterialPointDetailsListToJson(GetFeignEmergencyTeamListMaterialPointDetailsList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['companyCode'] = entity.companyCode;
  data['contactNumber'] = entity.contactNumber;
  data['createBy'] = entity.createBy;
  data['createById'] = entity.createById;
  data['createDate'] = entity.createDate;
  data['deleted'] = entity.deleted;
  data['id'] = entity.id;
  data['locationOfTheRegion'] = entity.locationOfTheRegion;
  data['materialClassification'] = entity.materialClassification;
  data['materialClassificationName'] = entity.materialClassificationName;
  data['materialName'] = entity.materialName;
  data['materialPhotos'] = entity.materialPhotos;
  data['materialPointId'] = entity.materialPointId;
  data['materialPointIdName'] = entity.materialPointIdName;
  data['place'] = entity.place;
  data['purpose'] = entity.purpose;
  data['quantity'] = entity.quantity;
  data['responsiblePerson'] = entity.responsiblePerson;
  data['transportationAndStorageRequirements'] = entity.transportationAndStorageRequirements;
  data['updateBy'] = entity.updateBy;
  data['updateById'] = entity.updateById;
  data['updateDate'] = entity.updateDate;
  data['usageRecord'] = entity.usageRecord;
  data['usedRecordVos'] = entity.usedRecordVos?.map((v) => v.toJson()).toList();
  data['validityPeriod'] = entity.validityPeriod;
  return data;
}

extension GetFeignEmergencyTeamListMaterialPointDetailsListExtension on GetFeignEmergencyTeamListMaterialPointDetailsList {
  GetFeignEmergencyTeamListMaterialPointDetailsList copyWith({
    String? companyCode,
    String? contactNumber,
    String? createBy,
    String? createById,
    String? createDate,
    String? deleted,
    String? id,
    String? locationOfTheRegion,
    String? materialClassification,
    String? materialClassificationName,
    String? materialName,
    String? materialPhotos,
    String? materialPointId,
    String? materialPointIdName,
    String? place,
    String? purpose,
    int? quantity,
    String? responsiblePerson,
    String? transportationAndStorageRequirements,
    String? updateBy,
    String? updateById,
    String? updateDate,
    String? usageRecord,
    List<GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos>? usedRecordVos,
    String? validityPeriod,
  }) {
    return GetFeignEmergencyTeamListMaterialPointDetailsList()
      ..companyCode = companyCode ?? this.companyCode
      ..contactNumber = contactNumber ?? this.contactNumber
      ..createBy = createBy ?? this.createBy
      ..createById = createById ?? this.createById
      ..createDate = createDate ?? this.createDate
      ..deleted = deleted ?? this.deleted
      ..id = id ?? this.id
      ..locationOfTheRegion = locationOfTheRegion ?? this.locationOfTheRegion
      ..materialClassification = materialClassification ?? this.materialClassification
      ..materialClassificationName = materialClassificationName ?? this.materialClassificationName
      ..materialName = materialName ?? this.materialName
      ..materialPhotos = materialPhotos ?? this.materialPhotos
      ..materialPointId = materialPointId ?? this.materialPointId
      ..materialPointIdName = materialPointIdName ?? this.materialPointIdName
      ..place = place ?? this.place
      ..purpose = purpose ?? this.purpose
      ..quantity = quantity ?? this.quantity
      ..responsiblePerson = responsiblePerson ?? this.responsiblePerson
      ..transportationAndStorageRequirements = transportationAndStorageRequirements ?? this.transportationAndStorageRequirements
      ..updateBy = updateBy ?? this.updateBy
      ..updateById = updateById ?? this.updateById
      ..updateDate = updateDate ?? this.updateDate
      ..usageRecord = usageRecord ?? this.usageRecord
      ..usedRecordVos = usedRecordVos ?? this.usedRecordVos
      ..validityPeriod = validityPeriod ?? this.validityPeriod;
  }
}

GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos $GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVosFromJson(
    Map<String, dynamic> json) {
  final GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos getFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos = GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos();
  final String? date = jsonConvert.convert<String>(json['date']);
  if (date != null) {
    getFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos.date = date;
  }
  final int? num = jsonConvert.convert<int>(json['num']);
  if (num != null) {
    getFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos.num = num;
  }
  return getFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos;
}

Map<String, dynamic> $GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVosToJson(
    GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['date'] = entity.date;
  data['num'] = entity.num;
  return data;
}

extension GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVosExtension on GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos {
  GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos copyWith({
    String? date,
    int? num,
  }) {
    return GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos()
      ..date = date ?? this.date
      ..num = num ?? this.num;
  }
}

GetFeignEmergencyTeamListMemberList $GetFeignEmergencyTeamListMemberListFromJson(Map<String, dynamic> json) {
  final GetFeignEmergencyTeamListMemberList getFeignEmergencyTeamListMemberList = GetFeignEmergencyTeamListMemberList();
  final String? beGoodAtMajor = jsonConvert.convert<String>(json['beGoodAtMajor']);
  if (beGoodAtMajor != null) {
    getFeignEmergencyTeamListMemberList.beGoodAtMajor = beGoodAtMajor;
  }
  final String? companyCode = jsonConvert.convert<String>(json['companyCode']);
  if (companyCode != null) {
    getFeignEmergencyTeamListMemberList.companyCode = companyCode;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getFeignEmergencyTeamListMemberList.createBy = createBy;
  }
  final String? createById = jsonConvert.convert<String>(json['createById']);
  if (createById != null) {
    getFeignEmergencyTeamListMemberList.createById = createById;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getFeignEmergencyTeamListMemberList.createDate = createDate;
  }
  final String? deleted = jsonConvert.convert<String>(json['deleted']);
  if (deleted != null) {
    getFeignEmergencyTeamListMemberList.deleted = deleted;
  }
  final String? education = jsonConvert.convert<String>(json['education']);
  if (education != null) {
    getFeignEmergencyTeamListMemberList.education = education;
  }
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getFeignEmergencyTeamListMemberList.id = id;
  }
  final String? partTimeJob = jsonConvert.convert<String>(json['partTimeJob']);
  if (partTimeJob != null) {
    getFeignEmergencyTeamListMemberList.partTimeJob = partTimeJob;
  }
  final String? practiceLong = jsonConvert.convert<String>(json['practiceLong']);
  if (practiceLong != null) {
    getFeignEmergencyTeamListMemberList.practiceLong = practiceLong;
  }
  final String? teamId = jsonConvert.convert<String>(json['teamId']);
  if (teamId != null) {
    getFeignEmergencyTeamListMemberList.teamId = teamId;
  }
  final int? teamMemberAge = jsonConvert.convert<int>(json['teamMemberAge']);
  if (teamMemberAge != null) {
    getFeignEmergencyTeamListMemberList.teamMemberAge = teamMemberAge;
  }
  final String? teamMemberName = jsonConvert.convert<String>(json['teamMemberName']);
  if (teamMemberName != null) {
    getFeignEmergencyTeamListMemberList.teamMemberName = teamMemberName;
  }
  final String? teamMemberPhone = jsonConvert.convert<String>(json['teamMemberPhone']);
  if (teamMemberPhone != null) {
    getFeignEmergencyTeamListMemberList.teamMemberPhone = teamMemberPhone;
  }
  final String? teamMemberSex = jsonConvert.convert<String>(json['teamMemberSex']);
  if (teamMemberSex != null) {
    getFeignEmergencyTeamListMemberList.teamMemberSex = teamMemberSex;
  }
  final String? teamName = jsonConvert.convert<String>(json['teamName']);
  if (teamName != null) {
    getFeignEmergencyTeamListMemberList.teamName = teamName;
  }
  final String? technology = jsonConvert.convert<String>(json['technology']);
  if (technology != null) {
    getFeignEmergencyTeamListMemberList.technology = technology;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getFeignEmergencyTeamListMemberList.updateBy = updateBy;
  }
  final String? updateById = jsonConvert.convert<String>(json['updateById']);
  if (updateById != null) {
    getFeignEmergencyTeamListMemberList.updateById = updateById;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getFeignEmergencyTeamListMemberList.updateDate = updateDate;
  }
  return getFeignEmergencyTeamListMemberList;
}

Map<String, dynamic> $GetFeignEmergencyTeamListMemberListToJson(GetFeignEmergencyTeamListMemberList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['beGoodAtMajor'] = entity.beGoodAtMajor;
  data['companyCode'] = entity.companyCode;
  data['createBy'] = entity.createBy;
  data['createById'] = entity.createById;
  data['createDate'] = entity.createDate;
  data['deleted'] = entity.deleted;
  data['education'] = entity.education;
  data['id'] = entity.id;
  data['partTimeJob'] = entity.partTimeJob;
  data['practiceLong'] = entity.practiceLong;
  data['teamId'] = entity.teamId;
  data['teamMemberAge'] = entity.teamMemberAge;
  data['teamMemberName'] = entity.teamMemberName;
  data['teamMemberPhone'] = entity.teamMemberPhone;
  data['teamMemberSex'] = entity.teamMemberSex;
  data['teamName'] = entity.teamName;
  data['technology'] = entity.technology;
  data['updateBy'] = entity.updateBy;
  data['updateById'] = entity.updateById;
  data['updateDate'] = entity.updateDate;
  return data;
}

extension GetFeignEmergencyTeamListMemberListExtension on GetFeignEmergencyTeamListMemberList {
  GetFeignEmergencyTeamListMemberList copyWith({
    String? beGoodAtMajor,
    String? companyCode,
    String? createBy,
    String? createById,
    String? createDate,
    String? deleted,
    String? education,
    String? id,
    String? partTimeJob,
    String? practiceLong,
    String? teamId,
    int? teamMemberAge,
    String? teamMemberName,
    String? teamMemberPhone,
    String? teamMemberSex,
    String? teamName,
    String? technology,
    String? updateBy,
    String? updateById,
    String? updateDate,
  }) {
    return GetFeignEmergencyTeamListMemberList()
      ..beGoodAtMajor = beGoodAtMajor ?? this.beGoodAtMajor
      ..companyCode = companyCode ?? this.companyCode
      ..createBy = createBy ?? this.createBy
      ..createById = createById ?? this.createById
      ..createDate = createDate ?? this.createDate
      ..deleted = deleted ?? this.deleted
      ..education = education ?? this.education
      ..id = id ?? this.id
      ..partTimeJob = partTimeJob ?? this.partTimeJob
      ..practiceLong = practiceLong ?? this.practiceLong
      ..teamId = teamId ?? this.teamId
      ..teamMemberAge = teamMemberAge ?? this.teamMemberAge
      ..teamMemberName = teamMemberName ?? this.teamMemberName
      ..teamMemberPhone = teamMemberPhone ?? this.teamMemberPhone
      ..teamMemberSex = teamMemberSex ?? this.teamMemberSex
      ..teamName = teamName ?? this.teamName
      ..technology = technology ?? this.technology
      ..updateBy = updateBy ?? this.updateBy
      ..updateById = updateById ?? this.updateById
      ..updateDate = updateDate ?? this.updateDate;
  }
}
